﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Provincias.aspx.cs" Inherits="Bukstor.Admin.UI.Provincias" 
MasterPageFile="~/MasterAdmin.Master" Theme="SkinAdmin"%>

<asp:Content ContentPlaceHolderID="head" runat="server">
<title>Provincias</title>
</asp:Content>
<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div align="center"><asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            BackColor="White" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" 
            CellPadding="4" DataKeyNames="idProvincias" 
            DataSourceID="EntityDataSource1" AllowPaging="True" 
        AllowSorting="True" onselectedindexchanged="GridView1_SelectedIndexChanged">
            <Columns>
                <asp:CommandField ButtonType="Image" CancelImageUrl="~/Imagenes/icoCancel.jpeg" 
                    EditImageUrl="~/Imagenes/icoEditar.gif" HeaderText="Editar" 
                    ShowEditButton="True" UpdateImageUrl="~/Imagenes/icoOk.jpeg" />
                <asp:BoundField DataField="idProvincias" HeaderText="idProvincias" ReadOnly="True" 
                    SortExpression="idProvincias" />
                <asp:BoundField DataField="costoPorPedido" HeaderText="costoPorPedido" 
                    SortExpression="costoPorPedido" />
                <asp:BoundField DataField="costoPorArticulo" HeaderText="costoPorArticulo" 
                    SortExpression="costoPorArticulo" />
                <asp:BoundField DataField="plazo" HeaderText="plazo" SortExpression="plazo" />
            </Columns>
            <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
            <HeaderStyle BackColor="#003399" Font-Bold="True" ForeColor="#CCCCFF" />
            <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
            <RowStyle BackColor="White" ForeColor="#003399" />
            <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
            <SortedAscendingCellStyle BackColor="#EDF6F6" />
            <SortedAscendingHeaderStyle BackColor="#0D4AC4" />
            <SortedDescendingCellStyle BackColor="#D6DFDF" />
            <SortedDescendingHeaderStyle BackColor="#002876" />
        </asp:GridView>
        <asp:EntityDataSource ID="EntityDataSource1" runat="server" 
            ConnectionString="name=BukstorBDEntities" 
            DefaultContainerName="BukstorBDEntities" 
            EntitySetName="CostosPorProvincia" EnableInsert="True" 
            EnableUpdate="True">
        </asp:EntityDataSource></div>
</asp:Content>
        
    